//
//  XWFlipResultViewController.swift
//  XWSurSpeed
//
//  Created by hopemobi-1 on 2024/8/8.
//

import UIKit

class XWFlipResultViewController: UIViewController {
    
    @IBOutlet weak var XWMessageLabel: UILabel!
    private let titleArray = ["Imitation of a gorilla beating its chest and shouting","Do your most  sexy moves","Say goodnight to a random stranger of the opposite sex","Look at kissing the wall for 10 seconds"]
    override func viewDidLoad() {
        super.viewDidLoad()
        let randomNumber = Int.random(in: 0...titleArray.count - 1)
        XWMessageLabel.text = titleArray[randomNumber]
    }
    @IBAction func XWBackButtonClick(_ sender: UIButton) {
        dismiss(animated: true, completion: nil)
    }
    
}
